package com.ikun.common.constant;

/**
 * @ClassName RedisConstant
 * @Description:
 * @CreateDate: 2024/4/11 17:10
 */
public class RedisConstant {

    public static final String BLACK_SET = "black_set";
    public static final String LIMIT_SET_PREFIX = "limit_set_prefix:";
    public static final String USER_PERM_PREFIX = "user_perm:";
    public static final String USER_ID_PREFIX = "user_id:";
    public static final String ONLINE_USER_SET = "online_user_set:";
    public static final Long ONE_HOUR = 60 * 60 * 1000L;

    public static final Long ONE_MINUTE = 60 * 1000L;

    public static final Long ONE_DAY = 60 * 60 * 24 * 1000L;

    public static final Long ONE_MINUTE_TIMES = 100L;
    public static final Long ONE_HOUR_TIMES = 2000L;

    public static final Long ONE_DAY_TIMES = 20000L;

    public static final String FORGET_CODE_PREFIX = "forget_password_code:";

    public static final String LOGIN_BY_CODE_PREFIX = "login_by_code:";

    public static final String OTHER_CODE_PREFIX = "other_code:";
    public static final String IMG_CODE_PHONE_PREFIX = "img_code_phone:";
    public static final String IMG_CODE_EMAIL_PREFIX = "img_email_phone:";

}
